<template>
    <div class="banner">
        <el-image style="width: 100%; height: 100%" :src="imgUrl" fit="fill"></el-image>
    </div>
</template>

<script>

export default {
    name: 'App',
    components: {},
    props:{
        imgUrl:{
            type:String,
            default:()=>{
                return ""
            }
        }
    },
    data() {
        return {}
    }
}
</script>

<style lang="scss" scoped >
.banner{
    width: 100%;
    height: 100px;
    margin: 5px auto;
}

</style>